package net.ericaro.neojavagen.expressions;

/**
 * <b>PlusUnaryExpression</b> ::= "+" <{@link net .ericaro .neojavagen .expressions .UnaryExpression UnaryExpression}>
 * 
 * @author eric@ericaro.net
 */
public class PlusUnaryExpression extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.expressions.UnaryExpression {
	private net.ericaro.neojavagen.expressions.UnaryExpression unaryExpression;

	public PlusUnaryExpression(net.ericaro.neojavagen.expressions.UnaryExpression unaryExpression) {
		super();
		this.unaryExpression = unaryExpression;
	}

	public net.ericaro.neojavagen.expressions.UnaryExpression getUnaryExpression() {
		return unaryExpression;
	}

	public void setUnaryExpression(net.ericaro.neojavagen.expressions.UnaryExpression unaryExpression) {
		this.unaryExpression = unaryExpression;
	}

	@Override
	public java.lang.String toString() {
		return print("+", unaryExpression);
	}
}
